package com.logos.ruralrevitalization.converter;

import com.logos.ruralrevitalization.entity.AttractionReviews;
import com.logos.ruralrevitalization.req.AttractionReviewsReq;
import com.logos.ruralrevitalization.resp.AttractionReviewsResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AttractionReviewConverter {

    AttractionReviewConverter INSTANCE = Mappers.getMapper(AttractionReviewConverter.class);

    AttractionReviews convertReqToEntity(AttractionReviewsReq attractionReviewsReq);

    AttractionReviewsResp convertEntityToResp(AttractionReviews attractionReviews);
}